﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace HOBA.SMSSender
{
    public partial class Statistics : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DataSet messagesDS = new DataSet();
            string filePath = Server.MapPath("~/messages.xml");
            messagesDS.ReadXml(filePath);
            grvMessages.DataSource = messagesDS.Tables[0].DefaultView;
            grvMessages.DataBind();
        }
    }
}
